package com.boot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * DESC: 分页结果集
 *
 * @author WangJie
 * @date Created in 2025-04-21 11:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageInfo<T> {

    // 数据总数
    private Long total;

    // 数据结果集
    private List<T> list;

}
